package com.java.repository;

import com.java.model.hosp.Department;
import com.java.model.vo.DepartmentQueryVo;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentRespository extends MongoRepository<Department,String> {

    /**
     * 查询排班信息
     * @param hoscode
     * @param depcode
     */
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);

}
